package com.jinlele.model.pay;

import java.util.HashMap;
import java.util.Map;

public class TradeReq {

	String payType;			//支付类型
	String sysCode;			//系统代码
	String userNo;			//用户ID（联合查询时使用）
	String userDesc;		//用户描述（可选）
	String orderNo;			//订单号
	Double orderAmount;		//金额（元）
	String orderDesc;		//用户描述
	String notifyUrl;		//后台通知地址
	String clientIp;		//用户IP
	
	Map<String,Object> parameters=new HashMap<String, Object>();//附加信息
	
	public String getPayType() {
		return payType;
	}
	public String getSysCode() {
		return sysCode;
	}
	public String getUserNo() {
		return userNo;
	}
	public String getUserDesc() {
		return userDesc;
	}
	public String getOrderNo() {
		return orderNo;
	}
	public Double getOrderAmount() {
		return orderAmount;
	}
	public String getOrderDesc() {
		return orderDesc;
	}
	public String getNotifyUrl() {
		return notifyUrl;
	}
		
	public void setPayType(String payType) {
		this.payType = payType;
	}
	public void setSysCode(String sysCode) {
		this.sysCode = sysCode;
	}
	public void setUserNo(String userNo) {
		this.userNo = userNo;
	}
	public void setUserDesc(String userDesc) {
		this.userDesc = userDesc;
	}
	public void setOrderNo(String orderNo) {
		this.orderNo = orderNo;
	}
	public void setOrderAmount(Double orderAmount) {
		this.orderAmount = orderAmount;
	}
	public void setOrderDesc(String orderDesc) {
		this.orderDesc = orderDesc;
	}
	public void setNotifyUrl(String notifyUrl) {
		this.notifyUrl = notifyUrl;
	}
	public String getClientIp() {
		return clientIp;
	}
	public void setClientIp(String clientIp) {
		this.clientIp = clientIp;
	}
	public Map<String, Object> getParameters() {
		return parameters;
	}
	public void setParameters(Map<String, Object> parameters) {
		this.parameters = parameters;
	}	
	public void setParameter(String key,Object value){		
		parameters.put(key, value);
	}
	public Object getParameter(String key){
		return parameters.get(key);		
	}
}
